package com.householdregister.residence.domain;

import com.householdregister.common.core.domain.BaseEntity;
import com.householdregister.common.utils.DateUtils;

/**
 * @author zyj
 * @date 2022-02-23 13:13
 */
public class HouseholdRegisterHistory extends BaseEntity {

    private Long id;

    private String msg;

    private Long householdRegisterId;

    private Long peopleId;

    public HouseholdRegisterHistory() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public HouseholdRegisterHistory(String msg, Long householdRegisterId, Long peopleId, String createBy) {
        this.msg = msg;
        this.householdRegisterId = householdRegisterId;
        this.peopleId = peopleId;
        this.setCreateBy(createBy);
        this.setCreateTime(DateUtils.getNowDate());
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getHouseholdRegisterId() {
        return householdRegisterId;
    }

    public void setHouseholdRegisterId(Long householdRegisterId) {
        this.householdRegisterId = householdRegisterId;
    }

    public Long getPeopleId() {
        return peopleId;
    }

    public void setPeopleId(Long peopleId) {
        this.peopleId = peopleId;
    }
}
